package com.examination.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;

/**
 * <p>
 * 快递站点信息表
 * </p>
 *
 * @author xiaodong
 * @since 2021-10-17
 */
@Data
@ApiModel(value = "站点名称")
public class CourierSite extends Model<CourierSite> {

    private static final long serialVersionUID=1L;

    /**
     * 主键5.l
     */
      @TableId(value = "id", type = IdType.AUTO)
      @ApiModelProperty(value = "id")
      private Integer id;

    /**
     * 站点名称
     */
    @ApiModelProperty(value = "站点名称")
    private String siteName;

    /**
     * 站点地址
     */
    @ApiModelProperty(value = "站点地址")
    private String siteAddress;



    /**
     * 父id 总结点默认0
     */
    @ApiModelProperty(value = "父id 总结点默认0")
    private Integer parentId;

    /**
     * 关键字
     */
    @ApiModelProperty(value = "修改时间")
    private String keyword;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 状态
     */
    @ApiModelProperty(value = "禁用状态 0 正常 1 停用")
    private String status;

    @ApiModelProperty(value = "备注")
    private String  remark;

    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    /**
     * 删除状态：0未删除  1已删除
     */
    @ApiModelProperty(value = "删除状态：0未删除  1已删除")
    @TableLogic
    private Integer deleteStatus;

    @ApiModelProperty(value = "费用")
    private String fee;

    @ApiModelProperty(value = "客服电话名称1")
    private String customerServicePhoneName1;

    @ApiModelProperty(value = "客服电话1")
    private String customerServicePhoneNum1;

    @ApiModelProperty(value = "客服电话名称2")
    private String customerServicePhoneName2;

    @ApiModelProperty(value = "客服电话2")
    private String customerServicePhoneNum2;

    @ApiModelProperty(value = "客服电话名称3")
    private String customerServicePhoneName3;

    @ApiModelProperty(value = "客服电话3")
    private String customerServicePhoneNum3;

    @ApiModelProperty(value = "是否开启主-子站点同时入库：0-否；1-是")
    private Integer subsiteIn;
    
}
